package com.vehicle.biz;

import com.vehicle.domains.vo.BasePage;
import com.vehicle.domains.vo.req.sysUser.*;
import com.vehicle.domains.vo.res.sysUser.SysUserRes;

public interface SysUserBiz {
    void addUser(AddUserReq user);

    void updateUser(UpdateUserReq req);

    void deleteUser(Long id);

    SysUserRes getUserById(Long id);

    BasePage<SysUserRes> selectUserList(ListUserReq req);

    void addUserRoles(AddUserRolesReq req);

    SysUserRes login(UserLoginReq req);
}
